Average sentence length |
---|
21.2247 |
sentence length | percentage |
---|---|
2 | 0.0100 |
3 | 0.2333 |
4 | 0.6167 |
5 | 1.1167 |
6 | 1.4833 |
7 | 1.7267 |
8 | 2.1133 |
9 | 2.4667 |
10 | 2.9667 |
11 | 3.2300 |
12 | 3.2867 |
13 | 3.5600 |
14 | 3.9333 |
15 | 3.6600 |
16 | 3.8600 |
17 | 3.8967 |
18 | 4.1067 |
19 | 3.9400 |
20 | 4.0133 |
21 | 4.0233 |
22 | 3.8000 |
23 | 3.6667 |
24 | 3.4200 |
25 | 3.3033 |
26 | 3.0767 |
27 | 2.9333 |
28 | 2.6967 |
29 | 2.5133 |
30 | 2.4833 |
31 | 2.2467 |
32 | 2.2267 |
33 | 1.9167 |
34 | 1.8767 |
35 | 1.6533 |
36 | 1.5433 |
37 | 1.2900 |
38 | 1.1233 |
39 | 1.0833 |
40 | 0.8533 |
41 | 0.5833 |
42 | 0.4900 |
43 | 0.2967 |
44 | 0.2200 |
45 | 0.1467 |
46 | 0.1167 |
47 | 0.0900 |
48 | 0.0600 |
49 | 0.0233 |
50 | 0.0233 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters